//
//  JOMessage.h
//  QQ聊天
//
//  Created by song on 15/1/14.
//  Copyright (c) 2015年 song. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum{
    JOMessageTypeMe=0,
    JOMessageTypeOther
} JOMessageType;

@interface JOMessage : NSObject

@property(nonatomic , copy) NSString *text;

@property(nonatomic, copy) NSString *time;

@property(nonatomic, assign) JOMessageType type;

+(instancetype)messageWithDict:(NSDictionary *)dic;

-(instancetype)initWithDict:(NSDictionary *)dic;

@end
